package top.heue.utils.log.platform

actual fun setUncaughtExceptionHandler(handler: (thread: Any?, throwable: Throwable) -> Unit) {
    Thread.setDefaultUncaughtExceptionHandler { thread: Thread, throwable: Throwable ->
        handler(thread, throwable)
    }
}